<template>
	<view class="user-inform">
		<view class="ui-item" v-for="(item,index) in detils" :key="index">
			<view class="it-time">
				{{item.time}}
			</view>
			<view class="it-content">
				<image class="content-img" :src="item.product_img" mode=""></image>
				<view class="right">
					<view class="ct-title">
						{{item.product_name}}
					</view>
					<view class="ct-content">
						{{item.name}}
					</view>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				detils: [],
			};
		},
		onLoad(shopId) {
			let id = JSON.parse(shopId.shopId)
			this.userInfoDetail(id)
		},
		methods: {
			async userInfoDetail(id) {
				let res = await this.$http.userInfoPushMessage({
					shop_id: id
				});
				this.detils = res.data
				console.log("============")
				console.log(res.data)
			}
		},
	}
</script>

<style lang="scss" scoped>
	@import 'static/css/doenCommon.scss';
</style>
